package com.shipwe.loans.weight.font

import android.content.Context
import android.graphics.Typeface
import android.util.AttributeSet
import androidx.appcompat.widget.AppCompatTextView

/**
 * BoldTextView
 * @Author wwdeng
 * @CreateTime: 2024/11/28 10:45
 * @Annotation：粗体
 */
class BoldTextView(context: Context, attrs: AttributeSet?) : AppCompatTextView(context, attrs) {

    override fun setTypeface(tf: Typeface?, style: Int) {
        super.setTypeface(Typeface.createFromAsset(context.assets,"fonts/gilroy-black-6.otf"))
    }
}